package org.opsli.api.wrapper.business.PatrolRecordExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.plugins.excel.annotation.ExcelInfo;


@Data
@EqualsAndHashCode(callSuper = false)
public class PatrolRecordModel extends ApiWrapper {

    //小区名称
    @ApiModelProperty(value = "小区名称")
    @ExcelProperty(value = "小区名称", order = 1)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String village_name;

    //调压箱编号
    @ApiModelProperty(value = "调压箱编号")
    @ExcelProperty(value = "调压箱编号", order = 2)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String station_name;

    //管理楼栋
    @ApiModelProperty(value = "管理楼栋")
    @ExcelProperty(value = "管理楼栋", order = 3)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String floor_name;

    //巡检日期
    @ApiModelProperty(value = "巡检日期")
    @ExcelProperty(value = "巡检日期", order = 4)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String last_time;

    //外观
    @ApiModelProperty(value = "外观")
    @ExcelProperty(value = "外观", order = 5)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int condition1;

    //是否漏气
    @ApiModelProperty(value = "是否漏气")
    @ExcelProperty(value = "是否漏气", order = 6)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int leakage_condition;

    //切断是否正常
    @ApiModelProperty(value = "切断是否正常")
    @ExcelProperty(value = "切断是否正常", order = 7)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int condition2;

    //调压是否正常
    @ApiModelProperty(value = "调压是否正常")
    @ExcelProperty(value = "调压是否正常", order = 8)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int condition3;

    //卫生情况
    @ApiModelProperty(value = "卫生情况")
    @ExcelProperty(value = "卫生情况", order = 9)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int hygiene_condition;

    //压力表是否正常
    @ApiModelProperty(value = "压力表是否正常")
    @ExcelProperty(value = "压力表是否正常", order = 10)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int condition4;

    //地埋管道情况
    @ApiModelProperty(value = "地埋管道情况")
    @ExcelProperty(value = "地埋管道情况", order = 11)
    @ExcelInfo
    @ValidatorLenMax(255)
    private int condition5;

    //其他
    @ApiModelProperty(value = "其他")
    @ExcelProperty(value = "其他", order = 12)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String condition6;

    //检查人
    @ApiModelProperty(value = "检查人")
    @ExcelProperty(value = "检查人", order = 13)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String user_name;


    private String StartTime;
    private String endTime;

}
